UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Photon operating system messages file must have the correct ownership and file permissions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256516 PHTN-30-000041 SV-256516r887222_rule Medium
Description
Only authorized personnel should be aware of errors and the details of the errors. Error messages are an indicator of an organization's operational state and can provide sensitive information to an unprivileged attacker.
STIG Date
VMware vSphere 7.0 vCenter Appliance Photon OS Security Technical Implementation Guide 2023-02-21

Details

Check Text ( C-60191r887220_chk )
At the command line, run the following command:

# stat -c "%n is owned by %U and group owned by %G with %a permissions" /var/log/messages

If the "/var/log/messages" directory is not owned by root or not group owned by root, or the file permissions are more permission than "640", this is a finding.
Fix Text (F-60134r887221_fix)
At the command line, run the following commands:

# chown root:root /var/log/messages

# chmod 0640 /var/log/messages